import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'vant/lib/index.css';
import { Popup, Icon, AddressEdit, AddressList, Toast, SubmitBar, Stepper, SwipeCell, Checkbox, CheckboxGroup, Dialog, Field, Swipe, SwipeItem, Badge, Sidebar, SidebarItem, Collapse, CollapseItem, Tab, Tabs, Card, Tag, Button, Image as VanImage, Form } from 'vant';

createApp(App)
  .use(Icon)
  .use(Popup)
  .use(Swipe)
  .use(SwipeItem)
  .use(Stepper)
  .use(Toast)
  .use(AddressEdit)
  .use(AddressList)
  .use(SubmitBar)
  .use(SwipeCell)
  .use(Checkbox)
  .use(CheckboxGroup)
  .use(Badge)
  .use(Sidebar)
  .use(SidebarItem)
  .use(Collapse)
  .use(CollapseItem)
  .use(Tab)
  .use(Tabs)
  .use(Tag)
  .use(Button)
  .use(Card)
  .use(VanImage)
  .use(Form)
  .use(Field)
  .use(Dialog)
  .use(store)
  .use(router)
  .mount('#app')
